oracle.pg.common

## Interface EdgeOpCallback

-     public interface EdgeOpCallback

  This interface defines a callback function that can be used together with a whole graph level operation like adding a new weight attribute or removing an existing weight attribute

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAttributeKeyName(OracleEdgeBase e)` When an operation against the input edge is required, this method returns the attribute key name.
    `Object` | `getAttributeKeyValue(OracleEdgeBase e)` When an operation against the input edge is required, this method returns the attribute key value.
    `boolean` | `needOp(OracleEdgeBase e)` Returns true if an operation against the input edge is required

- - ### Method Detail

    - #### getAttributeKeyName

          String getAttributeKeyName(OracleEdgeBase e)

      When an operation against the input edge is required, this method returns the attribute key name. Otherwise, the return value is undefined.
      Parameters:
        `e` - edge object being inspected
      Returns:
        name of the attribute key

    - #### getAttributeKeyValue

          Object getAttributeKeyValue(OracleEdgeBase e)

      When an operation against the input edge is required, this method returns the attribute key value. Otherwise, the return value is undefined.
      Parameters:
        `e` - edge object being inspected
      Returns:
        value of the attribute

    - #### needOp

          boolean needOp(OracleEdgeBase e)

      Returns true if an operation against the input edge is required
      Parameters:
        `e` - edge object being inspected

Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.